<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <link rel="icon" href="<?php echo Yii::app()->request->baseUrl; ?>/images/favicon.ico" type="image/x-icon"/>
	
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery-1.4.3.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.easing.1.3.js"></script>    
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.elegantcarousel.min_ob.js"></script>
    
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/styles.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/css/light.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->baseUrl; ?>/js/jquery.mCustomScrollbar.css" />
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.mousewheel.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?>/js/jquery.mCustomScrollbar.js"></script>

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
    	
    <script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-24203106-1']);
	  _gaq.push(['_trackPageview']);
	
	  (function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
</script>
</head>

<body>
	<div id="wrapper">
	    <div id="header">  
	    	<?php $this->widget('application.widgets.header'); ?>
	    </div><!--end #header---->
	    
	    <div id="content">
	    	<?php echo $content; ?>		
	    </div><!----end #content---->
	</div><!------end #wrapper ------>

	<div id="footer">
		<?php $this->widget('application.widgets.footer'); ?>
	</div><!--end #footter-->
</body>
</html>
